type go/types.genericType
7 uses
go/types (current package)
instantiate.go#L22: type genericType interface {
instantiate.go#L60: orig_ := orig.(genericType) // signature of Instantiate must not change for backward-compatibility
instantiate.go#L91: func (check *Checker) instance(pos token.Pos, orig genericType, targs []Type, expanding *Named, ctxt *Context) (res Type) {
object.go#L579: case genericType:
signature.go#L188: if g, _ := baseType.(genericType); g != nil && g.TypeParams() != nil {
typexpr.go#L460: gtyp := typ.(genericType)
typexpr.go#L473: inst, _ := ityp.(genericType)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)